package core.nodes;

import core.types.Type;

public class Node {

	private Type type;
	private String name;
	private int line, column;

	public Node(Type type, String name, int line, int column) {
		this.type = type;
		this.name = name;
		this.line = line;
		this.column = column;
	}

	public void setType(Type type) {
		this.type = type;
	}

	public Type getType() {
		return type;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setLine(int line) {
		this.line = line;
	}

	public int getLine() {
		return line;
	}

	public void setColumn(int column) {
		this.column = column;
	}

	public int getColumn() {
		return column;
	}

}
